package cn.star.jots.actor.mapper;

import cn.star.jots.actor.pojo.dto.ActorQuery;
import cn.star.jots.actor.pojo.entity.Actor;
import cn.star.jots.actor.pojo.vo.ActorVO;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

@ResponseBody
public interface ActorMapper {

    List<ActorVO> selectAll(ActorQuery actorQuery);

    void insert(Actor actor);

    void update(Actor actor);

    void deleteById(Long id);
}
